import java.io.IOException;

/**
 * Created by shirenchuang on 2017/3/21.
 * 服务中心代码 接口
 */
public interface RegisterServiceFacade {

    public void stop();

    public void start() throws IOException;

    public void register(Class serviceInterface, Class impl);

    public boolean isRunning();

    public int getPort();
}
